﻿<%@ Page Language="C#" MasterPageFile="~/iPhone.Master" AutoEventWireup="true" CodeBehind="ComposeMessage.aspx.cs"
	Inherits="iPhOwa.Web.ComposeMessage" Title="Compose Message" ValidateRequest="false" %>

<asp:Content ID="c" ContentPlaceHolderID="c" runat="server">
	<asp:Panel runat="server" ID="composePanel" DefaultButton="sendButton" CssClass="bodyDiv">
		<table width="100%">
			<tr>
				<th>
					To:
				</th>
				<td>
					<asp:TextBox runat="server" ID="toTextBox" Width="96%" />
					<asp:RequiredFieldValidator ID="toValidator" runat="server" EnableClientScript="true"
						ControlToValidate="toTextBox" ErrorMessage="To is required." Display="Dynamic" />
				</td>
			</tr>
			<tr>
				<th>
					CC:
				</th>
				<td>
					<asp:TextBox runat="server" ID="ccTextBox" Width="96%" />
				</td>
			</tr>
			<tr>
				<th>
					Subject:
				</th>
				<td>
					<asp:TextBox runat="server" ID="subjectTextBox" Width="96%" />
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<asp:TextBox runat="server" ID="bodyTextBox" Width="96%" Rows="14" TextMode="MultiLine" />
				</td>
			</tr>
			<tr>
				<td colspan="2" align="right">
					<asp:Button runat="server" ID="cancelButton" Text="Cancel" OnClick="CancelButton_Click"
						CausesValidation="false" />
					<asp:Button runat="server" ID="sendButton" Text="Send" OnClick="SendButton_Click" />
				</td>
			</tr>
		</table>
	</asp:Panel>
</asp:Content>
